package com.hyst.service;

import java.util.List;
import java.util.Map;

import com.github.pagehelper.Page;
import com.hyst.domain.FreeAudition;
import com.hyst.domain.Student;
import com.hyst.domain.StudentView;

/**
 * @Description:学生表Service
 * @author：cb 
 * @Date：2018年10月09日
 */

public interface FreeAuditionService {

	/**
	 * @Description: 根据条件列表查询
	 * @param freeAudition
	 * @return Page<FreeAudition>
	 */
	Page<FreeAudition> list(FreeAudition freeAudition);

	/**
	 * @Description:添加单条记录，空属性值会采用数据库默认值插入
	 * @param freeAudition
	 * @return FreeAudition
	 */
	FreeAudition insert(FreeAudition freeAudition);

	/**
	 * @Description:根据主键获取
	 * @param orderId
	 * @return FreeAudition
	 */
	FreeAudition getByPriKey(String orderId);

	/**
	 * @Description:根据对象主键更新对象不为空字段
	 * @param freeAudition
	 * @return FreeAudition
	 */
	FreeAudition updateSelective(FreeAudition freeAudition);

	/**
	 * @Description:根据对象主键更新对象不为空字段
	 * @param freeAudition
	 * @return FreeAudition
	 */
	FreeAudition update(FreeAudition freeAudition);

	/**
	 * @Description:根据主键获取
	 * @param orderId
	 * @return FreeAudition
	 */
	FreeAudition delete(String orderId);


//	List<Map> getSelect2Data();
	
	Page<FreeAudition> selectByCondition(FreeAudition freeAudition,String selectCondition);
	
	Page<FreeAudition> searchByPhone(FreeAudition freeAudition,String phone);
	
	Page<FreeAudition> searchByName(FreeAudition freeAudition,String name);
//	
//	Page<StudentView> getDataByFuzerenId(StudentView studentView,String condition);
	// 2018-10-13 chenbin: 新增
	FreeAudition InsertToAudition(String orderId);
	FreeAudition UpdateAudition(String orderId);
	
	FreeAudition saveAllot(String postMsg);
	
	FreeAudition saveRemark(String postMsg);
	
	FreeAudition saveState(String postMsg);
	
	FreeAudition saveDelete(String orderId);

//	StudentView getStuInfo(String studentId);
}
